Skip to content

[VoiceLive] Update for API version 2026-07-15#47982

Open
xitzhang wants to merge 6 commits into
mainfrom
xitzhang/vl_20260715
Open

[VoiceLive] Update for API version 2026-07-15#47982
xitzhang wants to merge 6 commits into
mainfrom
xitzhang/vl_20260715

Conversation

@xitzhang

@xitzhang xitzhang commented Jul 9, 2026

Copy link
Copy Markdown
Member

Description

Please add an informative description that covers that changes made by the pull request and link all relevant issues.

If an SDK is being regenerated based on a new API spec, a link to the pull request containing these API spec changes should be included above.

All SDK Contribution checklist:

  • The pull request does not introduce [breaking changes]
  • CHANGELOG is updated for new features, bug fixes or other significant changes.
  • I have read the contribution guidelines.

General Guidelines and Best Practices

  • Title of the pull request is clear and informative.
  • There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

  • Pull request includes test coverage for the included changes.

Copilot AI review requested due to automatic review settings July 9, 2026 20:16

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR regenerates the azure-ai-voicelive data-plane SDK for the GA API version 2026-07-15 and promotes the package from a beta (1.3.0b2) to a stable GA release (1.3.0). It bumps the default API version throughout the client, samples, and tests, marks the package Production/Stable, adds numeric duration serialization support to the generated runtime, renames the _types type-alias module to _unions, and removes several preview-only models/enums (WebRTC SDP negotiation, output-audio-buffer started/stopped events, and smart end-of-turn detection) that were dropped from the GA API surface.

Changes:

  • Version/GA promotion: _version.py1.3.0, pyproject classifier → Production/Stable (+ Python 3.14), default api_version2026-07-15 in aio/_patch.py, _metadata.json, samples, README, and live/unit tests.
  • API surface reduction: removes SmartEndOfTurnDetection, RTC/WebRTC models & events, and output-audio-buffer started/stopped events from _models.py, _enums.py, models/__init__.py, and apiview-properties.json; migrates _types.Voice/ToolChoice/InterimResponseConfig references to a new _unions.py.
  • Runtime + changelog: adds numeric duration encoders/decoders to serialization.py and model_base.py; rewrites the 1.3.0 CHANGELOG section.

Reviewed changes

Copilot reviewed 23 out of 23 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
tests/unit/test_unit_connection.py Updates default/expected api-version assertions to 2026-07-15.
tests/live/*.py (7 files) Parametrize live tests on 2026-07-15; minor formatting.
samples/README.md, samples/async_mcp_sample.py, samples/agent_v2_sample.py Update sample docs/defaults to 2026-07-15.
pyproject.toml Marks package Production/Stable, adds Python 3.14 classifier.
CHANGELOG.md Rewrites 1.3.0 section — but lists removed classes as "Features Added" and misstates the previous default API version.
models/_models.py Removes RTC/WebRTC, output-audio-buffer, and smart-EOU models; migrates _types_unions; adds expires_at.
models/_enums.py Removes RTC and output-audio-buffer enum values.
models/init.py, apiview-properties.json Drops exports/metadata for removed models (breaks hand-written unit tests still importing them).
aio/_patch.py, _version.py, _metadata.json Bump default api-version and package version to GA.
_unions.py New type-alias module replacing _types.py.
_utils/serialization.py, _utils/model_base.py Add numeric (seconds/milliseconds) duration serialize/deserialize helpers.

Comment thread sdk/voicelive/azure-ai-voicelive/CHANGELOG.md Outdated
Comment thread sdk/voicelive/azure-ai-voicelive/CHANGELOG.md Outdated
@xitzhang

xitzhang commented Jul 9, 2026

Copy link
Copy Markdown
Member Author

/azp run python - azure-ai-voicelive - tests

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

Xiting Zhang added 3 commits July 9, 2026 15:15
Regenerate api.md/api.metadata.yml and bump CrossLanguageVersion to match the regenerated model. Add expires_at to 1.3.0 Features Added.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants